package com.ruoyi.fs.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 还款账单对象 fs_bill
 *
 * @author hero
 * @date 2024-09-09
 */
public class FsBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 律师ID
     */
    private Long ownerId;

    /**
     * 所属人
     */
    @Excel(name = "所属人")
    private String owner;

    /**
     * 案件ID
     */
    private Long caseId;
    /**
     * 案号
     */
    @Excel(name = "案号")
    private String ah;

    /**
     * 案件官网标号
     */
    private String bh;

    /**
     * 案件名称
     */
    @Excel(name = "案件名称")
    private String ajmc;

    /**
     * 资方名称
     */
    @Excel(name = "资方名称")
    private String ygmc;

    /**
     * 被告名称
     */
    @Excel(name = "被告名称")
    private String bgmc;

    /**
     * 应还总额
     */
    @Excel(name = "应还总额")
    private BigDecimal yhze;

    /**
     * 实还总额
     */
    @Excel(name = "实还总额")
    private BigDecimal shze;

    /**
     * 还款期数
     */
    private Integer hkqs;

    /**
     * 还款方式
     */
    private Integer hkfs;

    /**
     * 初始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "初始日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date csrq;

    /**
     * 是否开启
     */
    @Excel(name = "是否开启")
    private String sfkq;

    /**
     * 是否结清
     */
    @Excel(name = "是否结清")
    private String sfjq;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCaseId(Long caseId) {
        this.caseId = caseId;
    }

    public Long getCaseId() {
        return caseId;
    }

    public void setAjmc(String ajmc) {
        this.ajmc = ajmc;
    }

    public String getAjmc() {
        return ajmc;
    }

    public void setYgmc(String ygmc) {
        this.ygmc = ygmc;
    }

    public String getYgmc() {
        return ygmc;
    }

    public void setBgmc(String bgmc) {
        this.bgmc = bgmc;
    }

    public String getBgmc() {
        return bgmc;
    }

    public void setYhze(BigDecimal yhze) {
        this.yhze = yhze;
    }

    public BigDecimal getYhze() {
        return yhze;
    }

    public void setShze(BigDecimal shze) {
        this.shze = shze;
    }

    public BigDecimal getShze() {
        return shze;
    }

    public void setHkqs(Integer hkqs) {
        this.hkqs = hkqs;
    }

    public Integer getHkqs() {
        return hkqs;
    }

    public Integer getHkfs() {
        return hkfs;
    }

    public void setHkfs(Integer hkfs) {
        this.hkfs = hkfs;
    }

    public void setCsrq(Date csrq) {
        this.csrq = csrq;
    }

    public Date getCsrq() {
        return csrq;
    }

    public void setSfkq(String sfkq) {
        this.sfkq = sfkq;
    }

    public String getSfkq() {
        return sfkq;
    }

    public void setSfjq(String sfjq) {
        this.sfjq = sfjq;
    }

    public String getSfjq() {
        return sfjq;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public String getAh() {
        return ah;
    }

    public void setAh(String ah) {
        this.ah = ah;
    }

    public String getBh() {
        return bh;
    }

    public void setBh(String bh) {
        this.bh = bh;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("caseId", getCaseId())
                .append("ajmc", getAjmc())
                .append("ygmc", getYgmc())
                .append("bgmc", getBgmc())
                .append("yhze", getYhze())
                .append("shze", getShze())
                .append("hkqs", getHkqs())
                .append("csrq", getCsrq())
                .append("sfkq", getSfkq())
                .append("sfjq", getSfjq())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
